package BanyuanClub.Work.项目.聊天室;

import java.net.Socket;

public class User {
    private String name;
    private String sex;
    private Socket sock;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Socket getSock() {
        return sock;
    }

    public void setSock(Socket sock) {
        this.sock = sock;
    }

    public User(String name, String sex, Socket sock) {
        this.name = name;
        this.sex = sex;
        this.sock = sock;
    }
}
